package com.projectsquirrel;

import java.net.URI;

import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.widget.ImageButton;
import android.widget.ImageView;

public class displayImage extends Activity {

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
	    super.onCreate(savedInstanceState);
	    setContentView(R.layout.displayimage);
	    ImageView myImage = (ImageView) findViewById(R.id.image_to_display);
	    Uri myURI = Uri.parse(getIntent().getStringExtra("URI"));
	    myImage.setImageURI(myURI);
	    //finish();
	}

}
